package obj;

public class Course {
    int courseid;
    String coursename;
    int teacherid;

    public int getCourseid() {
        return courseid;
    }

    public void setCourseid(int courseid) {
        this.courseid = courseid;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public int getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(int teacherid) {
        this.teacherid = teacherid;
    }

    public Course(int courseid, String coursename, int teacherid) {
        this.courseid = courseid;
        this.coursename = coursename;
        this.teacherid = teacherid;
    }
}
